<?php

use Illuminate\Database\Seeder;

class TaskTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $task = [
            [
                'id' => '1',
                'name' => '店铺环境',
                'type' => 'number',
                'required' => '1',
                'photo' => '1',
            ],
            [
                'id' => '2',
                'name' => '卫生状况',
                'type' => 'number',
                'required' => '1',
                'photo' => '1',
            ],
            [
                'id' => '3',
                'name' => '人员状态',
                'type' => 'number',
                'required' => '1',
                'photo' => '0',
            ],
            [
                'id' => '4',
                'name' => '服务质量',
                'type' => 'number',
                'required' => '1',
                'photo' => '1',
            ],
        ];

        DB::table('tasks')->insert($task);


    }
}
